<?php
	mysql_connect("localhost", "sapmenet_admin", "a1s2d3f4g5h6j7") or die ("Problem with datebase");
	mysql_select_db("sapmenet_users");
	echo($_POST['MyID']." ".$_POST['frID']);
	mysql_query("DELETE FROM friendships WHERE userID={$_POST['MyID']} AND friendID={$_POST['frID']}");
	mysql_query("DELETE FROM friendships WHERE userID={$_POST['frID']} AND friendID={$_POST['MyID']}");
?>